package com.ruoyi.settled.service;

import java.util.List;
import com.ruoyi.settled.domain.SalesOrderCost;

/**
 * 成本核算Service接口
 * 
 * @author huangchen
 * @date 2025-03-14
 */
public interface ISalesOrderCostService 
{
    /**
     * 查询成本核算
     * 
     * @param costId 成本核算主键
     * @return 成本核算
     */
    public SalesOrderCost selectSalesOrderCostByCostId(Long costId);

    /**
     * 查询成本核算列表
     * 
     * @param salesOrderCost 成本核算
     * @return 成本核算集合
     */
    public List<SalesOrderCost> selectSalesOrderCostList(SalesOrderCost salesOrderCost);

    /**
     * 新增成本核算
     * 
     * @param salesOrderCost 成本核算
     * @return 结果
     */
    public int insertSalesOrderCost(SalesOrderCost salesOrderCost);

    /**
     * 修改成本核算
     * 
     * @param salesOrderCost 成本核算
     * @return 结果
     */
    public int updateSalesOrderCost(SalesOrderCost salesOrderCost);

    /**
     * 批量删除成本核算
     * 
     * @param costIds 需要删除的成本核算主键集合
     * @return 结果
     */
    public int deleteSalesOrderCostByCostIds(Long[] costIds);

    /**
     * 删除成本核算信息
     * 
     * @param costId 成本核算主键
     * @return 结果
     */
    public int deleteSalesOrderCostByCostId(Long costId);
}
